package cn.com.pagoda.ideplugin.ui;

import com.intellij.openapi.actionSystem.AnActionEvent;

import javax.swing.*;
import java.awt.*;

/**
 * @author 苏楷鹏 on 2023-05-06
 */
public class RegexpPanel {

    private final AnActionEvent anActionEvent;

    public RegexpPanel(AnActionEvent anActionEvent, JPanel mainPanel) {
        this.anActionEvent = anActionEvent;

        JPanel regexpPanel = new JPanel();
        regexpPanel.setBackground(Color.RED);
        regexpPanel.add(new JLabel("这是regexpPanel"));
        mainPanel.add(regexpPanel, getClass().getSimpleName());
    }
}
